﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace ProjectManage.Core.Entity.SYS
{
    [Table("sys_dictionary")]
    [Comment("数据字典表")]
    public class SysDictionary : DBEntityBase<Guid, MasterDbContextLocator>
    {
        [Comment("字典类型")]
        [Required, MaxLength(50)]
        public string DictionaryType { get; set; }

        [Comment("字典类型描述")]
        [Required, MaxLength(50)]
        public string DictionaryTypeName { get; set; }

        [Comment("字典值")]
        [Required, MaxLength(50)]
        public string DictionaryValue { get; set; }

        [Comment("字典值描述")]
        [Required, MaxLength(50)]
        public string DictionaryDescription { get; set; }
        
    }
}
